package componenti.comunication;

public abstract class Message {
	private int IDEntity;
	private long time;

	public Message(int iDEntity, long time) {
		super();
		IDEntity = iDEntity;
		this.time = time;
	}

	public int getIDEntity() {
		return IDEntity;
	}

	public void setIDEntity(int iDEntity) {
		IDEntity = iDEntity;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
	
}
